<template>
  <h1>组件里面的内容</h1>
</template>

<script>
  export default {
    name: 'test',
    methods: {
      open (link) {
        this.$electron.shell.openExternal(link)
      }
    }
  }
</script>

<style>
  h1{
    color:red;text-align: center;
  }
</style>
